<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>页面未找到 - 自动化测试平台</title>
    <style>
        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            margin: 0;
            padding: 0;
            min-height: 100vh;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            color: #333;
            overflow-x: hidden;
        }
        
        .container {
            background: white;
            border-radius: 12px;
            padding: 40px;
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
            text-align: center;
            max-width: 500px;
            width: 90%;
            position: relative;
            overflow: hidden;
        }
        
        .container::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 4px;
            background: linear-gradient(90deg, #667eea, #764ba2);
        }
        
        h1 {
            font-size: 3.5rem;
            margin: 0;
            color: #667eea;
            font-weight: 700;
            letter-spacing: -2px;
        }
        
        h2 {
            font-size: 1.8rem;
            margin: 10px 0 20px;
            color: #333;
            font-weight: 500;
        }
        
        p {
            font-size: 1.1rem;
            color: #666;
            margin-bottom: 30px;
            line-height: 1.6;
        }
        
        .back-home {
            display: inline-block;
            padding: 12px 30px;
            background: linear-gradient(135deg, #667eea, #764ba2);
            color: white;
            text-decoration: none;
            border-radius: 50px;
            font-size: 1.1rem;
            font-weight: 500;
            transition: all 0.3s ease;
            box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
        }
        
        .back-home:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
        }
        
        .path-info {
            background: #f8f9fa;
            padding: 15px;
            border-radius: 8px;
            margin: 20px 0;
            font-family: monospace;
            color: #e74c3c;
            word-break: break-all;
        }
        
        .decorative-element {
            position: absolute;
            opacity: 0.05;
            z-index: -1;
        }
        
        .decorative-1 {
            top: 10%;
            left: 10%;
            font-size: 200px;
            transform: rotate(-20deg);
        }
        
        .decorative-2 {
            bottom: 10%;
            right: 10%;
            font-size: 150px;
            transform: rotate(15deg);
        }
        
        @media (max-width: 768px) {
            .container {
                padding: 30px 20px;
            }
            
            h1 {
                font-size: 2.8rem;
            }
            
            h2 {
                font-size: 1.5rem;
            }
        }
    </style>
</head>
<body>
    <div class="decorative-element decorative-1">404</div>
    <div class="decorative-element decorative-2">?</div>
    
    <div class="container">
        <h1>404</h1>
        <h2>页面未找到</h2>
        <p>很抱歉，您访问的页面不存在或已被移动。</p>
        
        <div class="path-info">
            请求的路径: {{ request_path }}
        </div>
        
        <a href="/" class="back-home">返回首页</a>
    </div>
</body>
</html>